package longshu.srpc.test.server;

import longshu.srpc.test.api.User;
import longshu.srpc.test.api.UserService;

import java.util.Date;

/**
 * UserServiceImpl
 *
 * @author LongShu 2017/12/04
 */
public class UserServiceImpl implements UserService {

    /**
     * 测试
     */
    @Override
    public User login(String name, String password) {
        User user = new User();
        user.setName(name);
        user.setLoginTime(new Date());
        return user;
    }

}
